package com.repair.domain;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;


@Entity
@Table( name = "LINE_STATION" )
@IdClass(LineStationPK.class)
public class LineStation {
	
	@Id
	private int line_number;
	
	@Id
	private int station_number;
	
	@Id
	private int area_number;
	
	
	
	@Column(name="STATION_NAME")
	private String station_name;
	@Column(name="LINE_NAME")
	private String line_name;
	@Column(name="AREA_NAME")
	private String area_name;
	
	
	public int getLine_number() {
		return line_number;
	}
	public void setLine_number(int line_number) {
		this.line_number = line_number;
	}
	public int getStation_number() {
		return station_number;
	}
	public void setStation_number(int station_number) {
		this.station_number = station_number;
	}
	public String getStation_name() {
		return station_name;
	}
	public void setStation_name(String station_name) {
		this.station_name = station_name;
	}
	public String getLine_name() {
		return line_name;
	}
	public void setLine_name(String line_name) {
		this.line_name = line_name;
	}
	public String getArea_name() {
		return area_name;
	}
	public void setArea_name(String area_name) {
		this.area_name = area_name;
	}
	
}
